<template>
    <dl @click="footerClick(item.id)">
        <dt>{{item.name}}</dt>
    </dl>
</template>

<script>
export default {
    props:["item"],
    methods:{
        footerClick(id){
            console.log(id)
            let index = id == 1 ? "/index" : id == 2 ? "/video" : id == 3 ? "/" : id == 4 ? "/forum" : id  = "/num"
            this.$router.push({path:index})
        }
    }
}
</script>

<style>
</style>
